<html><pre><?php
require '../Missus.php';
try {
    $bot = new Missus('user', 'pass', 'whatever.com');
#   $bot = new Missus('user', 'pass', 'gmail.com', 'talk.google.com');
#   $bot = new Missus('user', 'pass', 'chat.facebook.com');
    $bot->logEvents(true);
    $bot->connect();
    $contacts = $bot->getRoster();
}
catch(Exception $e) { die($e->getMessage()); }
?>
===============
Chat contacts :
<?php foreach($contacts as $contact) var_dump($contact); ?>
</pre></html>